package com.jxtc.enterprise.employee.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Schema(description = "微信小程序端再来一单所需要传递的数据")
@Getter
@Setter
@ToString
public class CreateOrderAgainDTO {

    @Schema(description = "订单 ID", example = "152d9648a8af4ee887354296fc0c8cb7")
    @NotBlank(message = "订单 ID 不能为空")
    private String orderId;

    @Schema(description = "用户手机号", example = "13888888888")
    private String phone;
}
